<?php
$this->breadcrumbs=array(

	'Admin Panel'=>$this->createUrl( '/adminpanel'),
	'Rental Properties'=>array('/adminpanel/rentalproperty/'),
	$model->idRentalProperty=>array('/adminpanel/rentalproperty/view','id'=>$model->idRentalProperty),
	$model->id,
);

/*$this->menu=array(
	array('label'=>'List Paymentinformation', 'url'=>array('index')),
	array('label'=>'Create Paymentinformation', 'url'=>array('create')),
	array('label'=>'Update Paymentinformation', 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>'Delete Paymentinformation', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Paymentinformation', 'url'=>array('admin')),
);*/
?>

<h1>View Payment Information #<?php echo $model->id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'id',
		array(
			'label'=>'Managing Company',
			'type'=>'raw',
			'value' =>CHtml::link(CHtml::encode($model->idManagement0->CompanyName),
                                 array('/adminpanel/management/view','id'=>$model->idManagement0->id)),
		),
		array(
			'label'=>'IdRentalProperty',
			'type'=>'raw',
			'value' =>CHtml::link(CHtml::encode($model->idRentalProperty),
                                 array('/adminpanel/rentalproperty/view','id'=>$model->idRentalProperty)),
		),
		array(
			'name' => 'Method Of Payment',
			'value' => (($model->MethodOfPayment == 1)?'PayPal':'Credit Carde'),
		),
		'BankInformation',
		'RoutingNumber',
		'AccountNumber',
		'CCNumber',
		'ExpirationDate',
		'CCVNumber',
		'NameOnCard',
		array(
			'name' => 'Payment Procedure',
			'value' => (($model->OneTimeOrReccurring == 1)?'Reccurring':'One Time'),
		),
		'DatePaymentPrefferenceSet',
		'PayPalAccount',
	),
)); ?>
